What do I need in my modules as a percentage?

Basically, I can't do maths. So I'm asking you to please help me work out some percentage magic on my modules. I want to find out what I need in my 3 exams I have in percentage terms, to get an overall 40% module grade +.

------------------

Module 1 - 50% of the module is weighted on an essay, I had 65%. The other 50% is the exam. How much do I need in the exam to get the minimum 40% overall?

--

Module 2 - 25% essay = 56% mark. 25% essay 2 - 60% mark.

50% Exam.

--

Module 3

--

10% exam - 80% result.

50% essay - 65% result

40% exam -..

Thanks lads.