How do you complete the level Drop The Flag?

how do you find fx and fy

Check out this thread:

http://discourse.codecombat.com/t/drop-the-flag-level-help/1567

Hi i am on the level Drop The Flag and i am having major issues completing it me and my friend are struggling with it. Any tips guys ??