where a and b are constants and x and y are