The upstream oxygen sensor signals for bank 1 and bank 2 appear to be reversed. This usually happens after engine work where the sensor connectors were swapped.
Find certified mechanics near you who can diagnose and repair P0040.
For informational purposes only. Diagnostic trouble codes are starting points for diagnosis, not definitive answers. Always consult a certified mechanic for proper diagnosis and repair. Estimated costs vary by vehicle, location, and shop rates.