Have no idea how to answer this, please help :(

Answer:
Step-by-step explanation:
a) perimeter = 8x + 3 + 5 + 7x + 4
b) perimeter = 15x + 12