what causes q p0740 an a p1582 code to pop up on 2000 Volkswagen Jetta

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
i changed tranny fluid an filter both o2 sensors new cat new temp sensor new plugs an wires new mass air flow sensor cleaned throttle body all new hoses on entire motor
(1) Answer
| |
Here is a link to information on P0740
This link has an answer that makes the best sense for the code P1582