Solving a word problem involving a sum and another basic relationship using a system of linear equations