The teacher will be very surprised to see your correct solution 😉
54 8 + y - 7*x + -- = 0 x
-7*x + y + 8 + 54/x = 0