The applet illustrates one possible way of constructing the common tangents to the two circles. Like another approach, the method is based on the construction of a tangent to a circle from a point outside the circle. This uses the fact that the radius-vector to the point of tangency is perpendicular to the tangent.
Now, any two circles are similar. They may have 1 or 2 centers of similitude. Centers of similitude lie on the line joining the centers of the circles. Any common tangent to two circles passes through one of the centers of the similitude. This suggests a construction: first find a center of the similitude of the two given circles and from there draw tangents to each of them. (The last step is common to another construction.)
In order to find a center of similitude, choose a point (M) on one of the circles, say O, and draw a line through Q parallel to OM. The points of intersection will serve as images of M under the similarity transformation. The line joining M to either of the points will pass through through a center of similitude.