How to solve genetics probability problems