Correct. Monomials are divided by dividing the coefficients and dividing the variables. When you have the same variable, you can subtract the exponents.
The exponent for the variable a is 2.