How would one solve this?

A spotlighty on the ground runs from the spotlight towardthe building at a speed of 1m/s, how fast is the height of the animal's shadow on the building decreasing when the dog is 5m from the building?

I tried doing a diagram, but I don't think I set it up right. It has to do with similar triangles as well...