If q = 2, evaluate left parenthesis 34 plus 18 times q right parenthesis minus left parenthesis 5 Superscript q baseline plus 7 right parenthesis.

(1 point)
Responses

38

79

31

21

1 answer

To solve this expression, substitute q = 2 into the expression:

(34 + 18*q) - (5^q + 7)
= (34 + 18*2) - (5^2 + 7)
= (34 + 36) - (25 + 7)
= 70 - 32
= 38

Therefore, the answer is 38.