Maths length word problem