First, to understand things better, what, more concretely, is the contents of [a]?
Second, don't you still have to worry about what the weightometer reading gives you?
In other words, shouldn't the equation be [a]*[tr]+[b]=[cr]. After which you solve for tr with [tr]=[a]^-1([cr]-[b]). Or...