A block with mass m can move along a horizontal beam without friction. A pendulum is attached to the cart. The pendulum’s rod is massless and has a length of L. The point mass attached to the tip of the pendulum has a mass of m. Find the acceleration of point P with respect to a fixed frame using the magic formula.