Find the rule for the function: input is 1 and output is 3, input is 2 and output is 7, input in 3 and output is 11