Miguel baked 42 cookies for a charity bake sale. He made packages with 3 cookies in each. What equation can be used to find how many packages, p, of cookies Miguel made?