The ornamental design for the cupcake and muffin pan, as shown and described.
FIG. 1 is a perspective view of the left/right, top, and front/rear sides of the cupcake and muffin pan according to a first embodiment of my new design;
FIG. 2 is a front and identical back view thereof;
FIG. 3 is a left and identical right side view thereof;
FIG. 4 is a top view thereof; and,
FIG. 5 is a bottom view thereof.
The broken lines shown in the drawings are for illustrative purposes only and form no part of the claimed design.