A class of students took two tests. The first test was out of 50 points, and the second test was out of 100 points. If the average score of the class on the first test was 40, and the average score on the second test was 75, what is the overall weighted average score of the class? Let's think step by step and output the final answer within \boxed{}.
user