Parallel lines cut transversals in the SAME ratio
|AB|=|BC| → |DE|=|EF|
|AP|/|PB| = |AQ|/|QC|
|AP|/|AB| = |AQ|/|AC| = |PQ|/|BC|
|AB| = |AP| + |PB| (the whole side)
Be careful which one the question gives.
A parallel line makes a smaller similar triangle
x/12 = 3/8 → 8x = 36