how to do the fractions

how to do the fractions class=