Simplified fractions correctly by finding gcf first.