A flashlight is projecting a triangle onto a wall, as shown below.

The original triangle and its projection are similar. What is the missing length n on the projection?