A is

absolute value is always positive, the minus sign vanishes (it literally means "how far away from zero" something is. distance can't be negative.)
B ist just 18
Answer:
Lets take all factors into consideration first
The door is a rectangle and the area of a rectangle is length times width
Let the width be w
Let the length be l
Equation length × breadth = area
(w+48)w = 3024
w^2 + 48w = 3024
w^2 + 48w - 3024 = 0
w^2 + 84w - 36w - 3024 = 0
w(w + 84) -36 ( w + 84) = 0
(w + 84) (w - 36) = 0
w + 84 = 0 AND w - 36 =0
w = -84 and w = 36
Since width cannot be negative, the right answer is 36
How did I get 84 and 36? Well, I had to factorize 3024 and since 84 times 36 is 3024 and 84 minus 36 is 48, I chose them.
There are inifinite solutions because they are the same equation
2D + 1G = 12
and
4D + 2G = 24 (divide by 2) 2D + G = 12
2D + 1G = 12 is the same as 2D + 1G = 12
First multiply 3 and the 1
Then simplify b^2-4b+3=0
Then divide both numbers by 3 (b-3/3)(b-1/3)=0
If it doesn’t go in even like the second term then bring it before the B
Then equal both terms to 0 and solve