HELP!!!!!!!

I have to find a rule for the following in and out.
Input: 1,2,3,4
Output: 3,9,18,30
Thank you!!

HELP!!!!!!!

I have to find a rule for the following in and out.
Input: 1,2,3,4
Output: 3,9,18,30