When a fraction is multiplied by a number, it's the same thing as multiplying the numerator by that number. If the numerator is 1 it's multiplied by 1, and thus, doesn't change its value.
31⋅2=31⋅2=32
This can be seen as the factor replacing the numerator if the numerator is 1.