Hey guys

This is on section 6 #6

At the first stop after after a school bus left school, 4 children got off the bus. One-quarter of the remaining children got off at the second stop. And 10 children got off at the third stop. If there were still 14 children on the bus after the third stop, how many children were on the bus as it left the school?

The correct answer is 36

But below is my work, please help me point out where i got wrong.

let x denote the children on the bus as it left the school

[1/4(x-4)]-10=24