The number "40" represents forty whole number, to wirte it as a fraction, that represent the same number, you have to divide it by 1:

Remember every time you have to express whole number as fractions, simply divide them by 1. This is called an "improper fraction"