Before he got 11$ he had 7$ as he got 4$ by weeding the garden.
in the question, he spent half his weekly allowance on candy then got 4$ that means half of his weekly allowance is seven hence is weekly allowance is 2 times seven which is 14$.
Hope this helps