Solving a word problem using a 3x3 system of linear equations: Problem type 1