Answer:
![x+y=18 \\2x+3y=42](https://img.qammunity.org/2021/formulas/mathematics/high-school/4cxcjpyioupnff9g9s8y00xgw0qx3dt9uv.png)
Number of 2-point shots taken = 12
Number of 3-point shots taken = 6
Explanation:
Total number of points scored by Gladys = 42
Only 2-point and 3-point shots are taken by Gladys.
Let number of 2-point shots taken =
![x](https://img.qammunity.org/2021/formulas/mathematics/middle-school/p9sq9b3rc5nwoqzhzc8wcaj51b36281l9g.png)
Let number of 3-point shots taken =
![y](https://img.qammunity.org/2021/formulas/mathematics/middle-school/kkh2dol4tzoh3mam41rvldrs3zvp7rkbgp.png)
Total number of shots taken = 18
Therefore, first equation can be written as:
![x+y=18](https://img.qammunity.org/2021/formulas/mathematics/middle-school/pxd2h0qb3317kj97m7ot9bhiwi9sedi8mu.png)
Total points scored = 42
Therefore, second equation can be written as:
![2x+3y=42](https://img.qammunity.org/2021/formulas/mathematics/high-school/ez0sm4zlo451j66hqxo4sda9ds2f4x7513.png)
System of equations is:
![x+y=18 .... (1)\\2x+3y=42 .... (2)](https://img.qammunity.org/2021/formulas/mathematics/high-school/m46us5gy5npzgjgalx20gz8kzswn33cq48.png)
Using elimination method to solve the system of equations.
Multiplying equation by 2 then subtracting it from equation (2):
![3y - 2y = 42 - 36\\\Rightarrow y = 6](https://img.qammunity.org/2021/formulas/mathematics/high-school/anro5dk5ahol6ogjcemu2ozmpa5rsfiuh2.png)
By equation (1):
![x+6=18\\\Rightarrow x = 12](https://img.qammunity.org/2021/formulas/mathematics/high-school/x78c6ai41ntf8v37cvqshpjym1h2cmlnu7.png)
Therefore, Number of 2-point shots taken = 12
Number of 3-point shots taken = 6