I don't think you actually have to solve this. I think you just have to write out the equations. It would be:
Mark: 4s + 3c = 26
Brian: 5s + 2c = 29