Two ladders of length 5m and 7m lean against a pole and make angles 45°…