Let and represent Jenny and Jack respectively.

Jenny has 228 marbles more than Jack ==> .

Bob gives them each 133 more -> Jenny now has twice as many marbles as Jack ==>

Thus, it follows that

Therefore,

Thus, Jenny has 589 marbles and Jack has 361 marbles.

Does this make sense?