If the slotted arm rotates counterclockwise with a constant angular velocity of thetadot = 2rad/s, determine the magnitudes of the velocity and acceleration of peg P at theta = 30 degrees. The peg is constrained to move in the slots of the fixed bar CD and rotating bar AB.