Most of the time a "no start" condition is generally caused by a bad Camshaft Position sensor. In your case, it's the one in bank 2.
The P0345 fault code is the result of a problem with the Camshaft Position Sensor on the bank 2 head (left side) of the engine. Possible causes:
• Harness or connector problem (The sensor circuit is open or shorted)
• Bad camshaft position sensor
The P1031 fault code is the result of a problem with the Air Fuel Ratio Sensor 1 on Bank 1 (right side). Possible causes:
- Air Fuel Ratio Sensor 1 harness is open or shorted
- Air Fuel Ratio Sensor 1 circuit poor electrical connection