pls help will mark as brainlist

Answer:
A. 12 B. 5
Step-by-step explanation:
First we will do B.
Interior is 108 degrees Lets make an equation, 108={(n-2)*180}/n
Let's simplify
Now we have 108n=180n-360
180n-108n=360
Now we have 72n=360
n=5.
Now time for the first one.
150={(n-2)*180}/n
150=180n-360
180n-150n=360
30n=360
n=12