Solve for t at^2+uy=h