Answer:
She can either have 7 sweets or 17 sweets.
Explanation:
Variable x = number of sweets Pat has
x < 20
Counting by 5's (5, 10, 15) that will result in 2 left over (5 + 2, 10 + 2, and 15 + 2). This leaves 3 possible options as to how many sweets Pat has: 7, 12, and 17.
Counting by 2's (2, 4, 6 . . . 18) that will result in 1 left over (6 + 1, 10 + 1, 16 + 1) This leaves 2 possible options, given the other numbers from counting by 5's were eliminated.: 7 and 17.