Please refer to the picture below:
This is just a problem about similar triangles. So we know that:
ΔADE ~ ΔABC
Because they share common sides then they are similar so:
We let CE be x then this would make:
Therefore the man should stand 30 feet from the light to cast a shadow of 20ft long.