Let:
x = Number of points Juan earned on the second text
n = Total number of points of each test
First, let's find the total number of points of each test using the information provided:

Now, we can find how many points Juan earned on the second test:

Answer:
40 points