Solve for x 40=3(2)^x-5