To take a screenshot on an Google Pixel 3a XL phone, you must press the Power key and the Volume down button at the same time.
As a result, your screenshot will be saved to the gallery. This screenshot can be sent to someone using instant messengers or shared on social networks.