The work done w by a body varies with displacement x as w=Ax+B(c−x)2. The dimensional formula for 'B' is: