Use a related equation that has the variable on one side. Then simplify the other side. p + 6 = 18

Ap = 3
Bp = 12
Cp = 24
Dp = 108