How to render football formations using C graphics library

How do I implement football formations in C language using graphics.h library? The input can be like 3-5-2 and the output will show how the formation will be like in a football field. Please help.

What Have you tried so far?
Stackoverflow may be a better place to ask this question after you try something yourself.