How does the goal alignment work?

You can check out the article here.