Let
be the number of baseball and
be the number of basket ball.
We have the following system:
Substitute the first equation into the second:
which yields
So, there are 20 baseballs and 5 basketballs, meaning that there are 15 more baseballs than basketballs.