3 linear equation word problem