Suppose that the functions q and r are defined as follows.

q (x) = -3x-2
r(x) =8+4
Find the following.
q(r(-4)

First, we need to find r(-4) by plugging -4 into the function r(x).

r(-4) = 8 + 4 = 12

Now, we need to find q(r(-4)) by plugging 12 into the function q(x).

q(12) = -3(12) - 2
q(12) = -36 - 2
q(12) = -38

Therefore, q(r(-4)) = -38.