Answered both because I wasn't sure which one you needed help with.
Answer:
9, 12x=4x+8+20
12x-4x=28
8x=28
X=3.5