Answer:
Let's denote Ricky's hits as R. Since Pedro had 279 more hits than Ricky, Pedro's hits can be represented as R + 279. Together, they got 2671 hits, so the equation is R + (R + 279) = 2671. Now, you can solve for R (Ricky's hits) and then find Pedro's hits by adding 279.