PUMaC 2020 Team Problem 4

Find the number of points P \in \mathbb{Z}^{2} that satisfy the following two conditions:

1) If Q is a point on the circle of radius \sqrt{2020} centered at the origin such that the line \overline{P Q} is tangent to the circle at Q, then \overline{P Q} has integral length.

2) The x-coordinate of P is 38.