The total number of rocks collected:
r + 2r + 2r - 5
Rocks collected by Maria and Javier:
3r
The difference between the number of rocks collected by Pablo and Maria:
r - 5
The sum of rocks collected by the boys:
4r - 5
The number of rocks collected by Pablo and Maria:
r + 2r - 5