Determine the force P that must be applied to the cord wrapped around the drum at C which is necessary to lift the bucket having a mass m. Note that as the bucket is lifted, the pulley rolls on a cord that winds up on shaft B and unwinds from shaft A.