please help!

input-1
output-45
Whats the relation?

many possibilities. One is

out = 3*in + 42