There's no need for a system of linear equations if you were to solve a real life problem like this. In calculus, they don't give a rat about HOW you get your answer to an easy algebra 1 equation, as long as you used one of the correct methods and got the right answer.