You can put this solution on YOUR website! Do you mean 12 square root of 3
12*sqrt(3)=20.78
The shorter leg is 6sqrt(3)=10.39
The longer leg is 6*sqrt(3)*sqrt(3)=18
In a 30 60 90 right triangle the hypotenuse is 2x the shorter leg 1x and the longer leg is sqrt(3)*x