John and Jack divided their math homework. John solved twice as many questions as Jack, plus one problem. How many problems did each boy solve if their were 28 problems?