how to do front squat and goblet squat?

both front squat and back squat are good tools for creating strength and hypertrophy all over your body, but sometimes your body is not comfortable with one of them. each variation has pros and cons, the back squat requires more flexibility and therefore can give you a better stretch and range of motion. front squat focuses on quads more and that causes it to put more pressure on your patella of knee bone. also, the level of the shoulder involvement in the front squat is a lot more and you require to have more flexibility in your arm whilst in the back squat, you need more thoracic extension.