A uniform ladder of weight 200 N and length 10 m leans again…

A uniform ladder of weight 200 N and length 10 m leans against a perfectly smooth wall to make an angle with the horizontal of 50 degrees. A firefighter of weight 600 N climbs a distance x up (along) the ladder. The coefficient of static friction between the ladder and the floor is 0.50. What is the maximum value of x for which the ladder will not slip?