Answer:
The cost of pen is $
. And cost of pencil is $

Explanation:
Given cost of pen is
.
And cost of pencil is
.
Also, Gabby bought
pens and
pencils, when she spent$

Then, the equation will be

And Sydney bought
pens and
pencils and paid $
.
Then, the equation will be

So,

Plug
in Equation (1) we get,

Plug the value of
in Equation (2) we get,

So, the cost of pen is $
. And cost of pencil is $
