you dont know how many pins and ribbons there are,
so set the numbers of pins as"x" and the number of ribbons as"y",
pins cost $4each (so total pins cost:4x)
ribbons cost $2 each(so total ribbons cost:2y)
together they add up to $60,
so put the numbers into the equation:
total pins cost+total ribbons cost=total cost
4x+2y=60
懂了吗?