Cheryl has some oranges. She put the oranges in p boxes of three oranges each and has two oranges left. Express the total number of oranges Cheryl has in terms of p.