When a number is multiplied by a fraction, 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.
2⋅31=32⋅1=32
This can be seen as the factor replacing the numerator if the numerator is 1.