Can you explain what you want to do?
Pretend Knockout isn't involved... If I set cc to 6 (for example), what should that do to the values of a & b?
Once you know that, it's a matter of just storing the values in a & b. That's done by using this.a(2) and this.b(3) to store 2 & 3 in observables a & b respectively.