N=d-2
q=n+d =>q=(d-2)=q=2d-2
25q+5n+10d=525
replace q and n with d
25(2d-2) +5(d-2)+10d=525
50d-50+5d-10+10d=525
65d=585
d=9
n=7
q=16
First one C second one D sorry if I’m wrong
Since both of the numbers have a variable which is x ready to be multiplied, there is no expression leading to the variable therefore you will add normally but you will need to put the missing variable which needs to be multiplied. So overall you can just add and once you get your variable you can be abe to multiply and get your final answer.
Hope this helps
Length= 9 width= 1
or
length= 8 width= 2
or
length= 7 width= 3
or
length= 6 width= 4