For the points scored during the game, let the two point shots be represented by a, and let the free throws be represented by b.
This means her total 12 points can be broken down into the following;
Equation (1) means that all shots either two-pointers or free throws were a total of 9 (that is she scored 9 times). Equation (2) means that every two-pointer counted as 2, while every free throw counted as 1, and adding all points gave her 12 point in all. Therefore;
This means she scored 3 two point shots, and
She also scored 6 free throws