Question 720058
Let 'a' be the side of the square = base of the triangle 
Let 'h' be the height of the triangle

Given : Area of square = Area of triangle

{{{a^2 = (1/2) * a * h }}}

h = 2a

Therefore Ratio of the altitude of triangle to the side of the square = 2a/a = 2:1