Actually Welcome to the Concept of the linear Equations.
To solve this, lets consider,
Lets consider basic hits of Ricky to be 'x' and that of pedro be x + 283 ,
hence we get as,
x + (x+283) = 2673
===> 2x = 2673 - 283
===> 2x = 2390
==> x = 1195
hence, Ricky has 1195 basic points and pedro has 1478 basic hits.