About a project of processing .. I need a help

we don’t have this leçon. For this i don’t understand how can I make the code . We have just ‘nombres complexes’ . I don’t know what’s the principle to do it. Specially the questions 3 and 7 , et 10.