Answer:
s+h=40 and 18s+14h=700
Step-by-step explanation:
lets say
s= number of scarves sold
and
h=number of hats sold
since the total of hats/scarves equals 40 then that means that scarves+hats sold equals 40 so
s+h=40
the second constraint it found similarly,
scarves and hats are being sold for 18$ and 14$ respectively and together they need to equal 700$ so you plug it into a similar equal as before
18s+14h=700