x*B^(y-1)/(B-1) where x = 7, y = 2, B = 10