Final answer:
Joshua answered 16 questions correctly and 24 questions incorrectly.
Step-by-step explanation:
To find the number of questions Joshua answered correctly, we can set up an equation:
40x + 25(40-x) = 1250
Simplifying this equation, we get:
40x + 1000 - 25x = 1250
15x = 250
x = 16.67
Since we can't have a fraction of a question, we can round down to the nearest whole number. Therefore, Joshua answered 16 questions correctly.
To find the number of questions Joshua answered incorrectly, we subtract the number of questions answered correctly from the total number of questions:
40 - 16 = 24.
Joshua answered 16 questions correctly and 24 questions incorrectly.