One sub costs $4.5 and one cookie costs $0.75 or 75 cents
Step-by-step explanation:
Let s be the cost of one sub
and
c be the cost of one cookie
Then according to given statements
"The cost of 3 subs and 7 cookies is $18.75"

"Five subs and 21 cookies cost $38.25"

Multiplying eqn 1 by 3

Subtracting Eqn 2 from Eqn 3

Dividing both sides by 4

Putting s=4.5 in Eqn 1

Dividing both sides by 7

So,
One sub costs $4.5 and one cookie costs $0.75 or 75 cents
Keywords: Linear Equations, Variables
Learn more about linear equations at:
#LearnwithBrainly