How to solve normal distribution