What is the rule for this input/output table

Input 2 output 10
Input 6 output 26
Input 8 output 34
Input 10 output 42

1 answer

times 4, + 2