On the design and synthesis of voting games: Exact solutions for the inverse problems