I have \(n\) grapes. I divide them into 3 equal piles, with 1 left over. I put the leftover grape into one pile, and eat all the grapes from one of the two smaller piles. I now have \(x\) grapes.
Which of the following is an expression for \(x\) in terms of \(n\)?