Jessie baked p cupcakes on Saturday. She baked (p + 3) more cupcakes on Sunday than on Saturday. She baked 30 cupcakes altogether. How many cupcakes did Jessie bake on Saturday?​