Cheryl has some oranges. she puts the oranges into p boxes of 3 oranges each and has 2 oranges left. Find the total number of oranges Cheryl has in terms of p.