Answer:
a.

b. 11 red bricks
Explanation:
Let x be the number of red bricks and y be the number of grey bricks.
1. Monica purchased 40 bricks, so

2. If she purchased the red bricks for $7 each, then x red bricks cost $7x. If the gray bricks are for $4 each, then y bricks cost $4y. In total, all bricks cost $(7x + 4y) that is $193. Hence,

a. The system of two equations is

b. From the first equation:

Substitute it into the second equation:

Monica purshased 11 red bricks and 29 grey bricks.