You may have switched the values of x and y when substituting into the expression. You should be calculating .