A whole number can be treated as a fraction too, by giving it a denominator.
A whole number can be expressed as a fraction by giving it a denominator.
Then to add two fractions, you need to give them a common denominator, so multiply the numerator and denominator of our newly created fraction by the denominator of the original fraction. Then you can add the numerators.