An ant is on the vertex of a triangle. It can move 'left' with probability of and 'right' with probability of . Note that, the meaning of "moving left or right" is on the corresponding triangle's sides. The expected number of moves till it first reaches its starting point is , where and are positive coprime integers. Calculate .