what is the formula in finding side