How To Solve Hardy Weinberg Equations