Answer:
It should be y = -x + r or y = r - x. To solve for y you would have to isolate y by removing all other variables from y's side of the equation.