When you scale a figure, say by doubling all distances, the area quadruples. Scale by factor k and the area goes up by a factor k^2.
So if the area proportion between the triangle and the square is T:S, and we scale both figures by the same factor k, we get areas k^2* T and k^2* S respectively.
But k^2* T:k^2* S = T:S.