If you are struggling from the free throw line you need to focus on two very simple but important things.
You need to make sure you are squaring up to the foul line with good balance and you must focus on being in the same ritual every time you shoot a free throw.