On the calculator, you can use the parentheses to group expressions together in the numerator or the denominator.
For example, 2/3*6/9 gets (2/3 * 6)/9, but (2/3) * (6/9) would probably be the correct grouping to solve the problem.
When typing out answers, the LaTeX command for fractions is \frac{a}{b}, where a is the numerator and b is the denominator.