You substituted the value 2 for y instead of x.