Two triangles are said to be similar when they have two corresponding angles congruent and the sides proportional.
wikibooks.com
In the above diagram, we see that triangle EFG is an enlarged version of triangle ABC i.e., they have the same shape. The same shape of the triangle depends on the angle of the triangles.
∠ABC=∠EGF,∠BAC=∠GEF,∠EFG=∠ACB
The area, altitude, and volume of Similar triangles are in the same ratio as the ratio of the length of their sides.
For the composite function g(f(x)), the function f(x) goes first in terms of evaluation. This is the inner most function. You would read it from right to left in terms of determining the order of evaluation.