Finding the height of an object using similar triangles