Rational number word problem: cab