Solving the indices question with the help of formulas.

source