Alice sold 7 packs of pencils and 22 separate pencils and Betty sold 5 packs and 2 separate pencils.

Alice sold twice the amount betty sold, how much pencils are in a pack?

7 P + 22 = 2 (5 P + 2)

7 P + 22 = 10 P + 4

18 = 3 P