I think the pixel 5a can be connected to tv through an hdmi cable. If so, plug that and a mouse to setup adb (toggle enable adb and toggle debug permissions, then accept adb host)
I may be wrong but i remember video output over usbc being added in the pixel 7 or 8
I may be wrong but i remember video output over usbc being added in the pixel 7 or 8