The cost of each bagel and cup of coffee is $2.5 and $3.5 respectively
(4 × x) + 6(x + 1) = 31
4x + 6x + 6 = 31
10x = 31 - 6
10x = 25
x = 25/10
x = $2.5
Therefore,
Cost of coffee = $x
= $2.5
Cost of Bagel = $(x + 1)
= (2.5 + 1)
= $3.5
Learn more about cost:
https://brainly.com/question/14315509