The first question: regarding the prescription, the prerequisite is to meet the law of genetic balance, that is, there is no natural selection, no gene exchange with other populations, and the population is huge. (ideal state)
The second question: you can't prescribe if you don't meet the above conditions, such as death in the title. Use the concept of gene frequency to calculate.
So the key is what the topic gives you.