You mixed up the corresponding sides when setting up the proportion. In the picture, the poles are corresponding sides and the shadows are corresponding sides.