Hello, Babak_Rm. Since forum text format is not suited for displaying formulae, I am attaching an image file where I explain the logic behind the result.
PS The interface is translated into Russian by Google Translate.