The length of the shadow of the object on the building when the object is 6 meters away from the wall is 2.4 meters.
To solve this problem, we can use similar triangles. Let the length of the shadow of the object on the building be x meters. We have two similar triangles:
The first triangle has sides of length 4 meters, 9 meters, and x meters. The second triangle has sides of length 6 meters, 9 meters, and x+3 meters.
We can set up the following proportion:

Multiplying both sides of the equation by x+3, we get:
4x+12 = 9x
Subtracting 4x from both sides of the equation, we get:
12 = 5x
Dividing both sides of the equation by 5, we get:
x =

Therefore, the length of the shadow of the object on the building when the object is 6 meters away from the wall is 2.4 meters.