let x = the number
then do what the problem says
increase by 15
x + 15
then double
2(x+15)
2x + 30 this result is six more than 3 times the original number
3x + 6 (this is six more than 3 times the original number)
now set them equal and solve for x
2x +30 = 3x + 6
x = 24
see if it works
increase by 15
39
double
78
3 times the original number plus 6
3 times 24
72
plus 6
78
so we get 78 either way
therefore, 24 is the correct value for x