The teacher will be very surprised to see your correct solution 😉
b + a*x y - ------- = 0 d + c*x
y - (a*x + b)/(c*x + d) = 0