There is a total of 150 coins in two boxes. Seventeen coins are then shifted from the first box to the second, resulting in the second box having twice as many coins as the first. Solve using an algebraic equation.