How to analyze and solve genetics problems