Quadratic equations word problem: triangle dimensions