A rope is cut into 3 pieces, p,q, and r. The lengths of the pieces are in ratio 3:5:7. If the rope is 33feet 9 inches long find the lengths of p, q and r