First, use simplify

(-a)^2+(a)^2
a^2+a^2
After adding them, your answer would be A.)

Hope this helps!
Steps:
1. Do a proportion
40/x equals 50/100
2. 40 times 100 equals 4,000
3. Do 4,000 divided by 50 equals 80
4. Your answer is 80
Let us assume the common ratio to be = x
Then
7x + 8x = 45
15x = 45
x = 45/15
= 3
Then the two numbers are
7x :8x
7 * 3:8 * 3
21: 24
Then the two numbers are 21 and 24.
I hope the procedure in which
the problem is done is clear to you. This is a simple but effective way of
solving such problems. In future this method will make you confident about
solving these kind of problems.
15
100%=20 questions
25%=X questions
X=25%×20=500
X=500/100
X=5
not B=20-5
not B=15 questions
The second option
hope this helps<3