For 1BTC to be 40k USD, something groundbreaking must happen and before that there will be lot of road blocks that need to be cleared. It's possible but game will be getting harder when price climbs up from certain point.
For the price to rise to 40k USD would only require about 40x price increase, we saw a bigger price increase than that in 2013, so seeing this price in the next year or two is not beyond the realm of possibilities. The price might also drop back down to 10, who knows what will happen?