a. Determine all nonnegative integers $x$ and $y$ so that $3^x + 7^y$ is a perfect square and $y$ is even.
b. Determine all nonnegative integers $x$ and $y$ so that $3^x + 7^y$ is a perfect square and $y$ is odd