Help plssss I’m actually so confused

Answer:
A) 2p
(because DC is twice the size of AB. Hence why they're in the ratio of 2:1)
B) p+q
(Start from B, go backs against the arrow to the left and get - p, then + q and + 2p. Simplify -p+q+2p)
Hope this helps!