To solve the problem, we can use the concept of similar triangles. The height of the building and the length of its shadow form one triangle, while the height of the person and the length of their shadow form another triangle. Since the sun's rays are parallel, these triangles are similar.
Let's denote:
- \( h \) = height of the building (in meters)
- The height of the person = 2 meters
- The length of the shadow of the building = 348 meters
- The length of the shadow of the person = 6 meters
Using the property of similar triangles, we can set up the following proportion:
\[ \frac{h}{348} = \frac{2}{6} \]
Next, we can simplify the fraction on the right:
\[ \frac{2}{6} = \frac{1}{3} \]
Now we can rewrite the proportion:
\[ \frac{h}{348} = \frac{1}{3} \]
To solve for \( h \), we can cross-multiply:
\[ h \cdot 3 = 348 \]
Now, divide both sides by 3:
\[ h = \frac{348}{3} = 116 \]
Thus, the height of the building is 116 meters.