So i was working through my math book and i got to some questions about Order of Operations or BEDMAS (brackets, exponents, division, multiplication, adding, subtracting)

now im used to doing it but not with variables included i tried to figure it out but i just have no idea.

the questions are

2(x + 3)(x + 4) =

also when there is an exponent included

3(x + 3)^2 =

any help would be appreciated