Bob spent x amount on food. Bill spent x+20, and John spent 3x-2. If bill and John spent the same amount of money, how much dud bob spend?​