You can put this solution on YOUR website! h^2 -9hs +9s^2
Using the quadratic equation: we get.
h=(9+-sqrt[-9^2-4*1*9])/2*1
h=(9+-sqrt[81-36])/2
h=(9+-sqrt45)/2
h=(9+-6.7082)/2
h=(9+6.7082)/2
h=15.7082/2
h=7.8541
h=(9-6.7082)/2
h=(2.2918/2
h=1.1459
(h-7.8541s)(h-1.1459s) ans.