Well First triangle (area A) can be included in the Second triangle (area B).
Each of the ratio between the considering sides are equal.
So s/S is a ratio that can make you know that s/S=t/T=k/K if we call the sides of the first triangle s,t,k and the sides of the second one S,T,K
This ratio is the same for the heights of the triangles, let's call them h and H which make 2 new triangles with same angles (it would be better if I could show you with a drawing, it's long to explain but it takes you 30" if you know the theorems)
So we have s/S=h/H
Now with information of the question
2A=B
2*((s*h)/2)=(S*H)/2
2*s*h=S*H
2*s*(h/H)=S
2*s*(s/S)=S
2*(s^2)=S^2
S=s*sqrt(2)
It's ok.
Just draw if you do not catch and read the theorem I used.