Correct option is D
Solution:

The height of the building is 8 meters and the length of the shadow is 6 meters.
We are required to find the distance from the top of the building to the end of the shadow.
We can use the Pythagorean theorem to find the distance:
Distance = √(height² + shadow_length²)
Distance = √(8² + 6²)
Distance = √(64 + 36)
Distance = √100
Distance = 10 meters
Therefore, the distance from the top of the building to the end of the shadow is:
Distance = 10.0 meters
