We can let a hot dog be H and a roll be R.
8H + 7R = $13.60
7H + 8R = $13.40
If we add the equations,
we get
15H + 15R = $27
that means that
H+R=$27/15
so the answer is 27/15.