You switched the values of x and y. That is, when , . When , . When , .