Red = 1 unit, purple = 3 units, yellow = 3 units + 41. The three bars total 545 marbles.
Plain numbers are given; italic underlined numbers are worked out.
There are 185 fewer red than yellow marbles.
Check: red 72 + purple 216 + yellow 257 = 545. ✓