Joan earned 60% of the possible points on his 1st math test. His teacher offered him to take another test for extra credit, on the extra credit test Joan earned 80% of the possible points. Each test had the same number of points if Joan scored 30 points on the 1st math test. How many did he score on the 2nd?