How to use forked-line method to solve probability problems in Genetics