"What did I do next to get 3 cookies in 1 bag?"
Divide both
sides by 2
Multiply both
sides by 2