Solve the below problem:
Q: A 24-ft length of chain having a weight per unit length of 2.73 lb/ft is attached to a beam at A and passes over a small pulley at B as shown. Neglecting the effect of friction, determine the values of distance a for which the chain is in equilibrium. You must solve the given problem step by step.