There are two ways to screenshot on the Pixel 7a:
1. Press and hold the power button and the volume down button at the same time.
2. Swipe down from the top right corner of the screen with three fingers.