It should be 12 ft away from the wall. Not 4 ft. You do not just subtract the difference because as you pull it away from the wall, the ladder is mostly moving horizontally with only a small vertical change.
You can use Pythagorean Theorem to find the answer. Think of the ladder as the hypotenuse of a right triangle with the wall and the ground as the legs.
Hay i m taking econ this year to when I'm stuck i watch these they really help https://www.youtube.com/playlist?list=PL8dPuuaLjXtPNZwz5_o_5uirJ8gQXnhEO