There are many solutions.
If pens sell for $130 each and pencils sell for $80 each,
then 5 pens would sell for $650 and 2 pencils would sell for
$160 for a total of $810, and in that case, 7 pens would sell
for $910 and 9 pencils would sell for $720 for a total of $1630.
Here is another one:
If pens sell for $140 each and pencils sell for $55 each,
then 5 pens would sell for $700 and 2 pencils would sell for
$110 for a total of $810, and in that case, 7 pens would sell
for $980 and 9 pencils would sell for $495 for a total of $1475.
There are many possible answers.
Edwin