I think of a number, double it, add three, multiply the answer by three and then add on twice the number I first thought of. If the final answer is 145 what was the number I first thought of?