Question 800022
small train x seats
large train x+12 seats

5x+4(x+12)=336