The teacher will be very surprised to see your correct solution 😉
(-15 + t)*(-12 + t)*(9 - t) = 0
(9 - t)*(t - 15)*(t - 12) = 0