Two crate A and B are connected with a rope with negligible mass over a frictionless pulley as represented below. The crates are at rest. Crate A has an unknown mass and hangs vertically to the right of the slope and crate B with mass 22 kg, hangs on the slope to the left. The slope makes and angle of 67 degrees with the horizontal. The static coefficient of friction between crate B and the surface of the slope is 1.716. The frictional force is up the slope.”

The Answer is suppose to be 5.5Kg, but I don’t know how to get it.
Please Help