Comparing linear functions word problem