GPA is average. Do your sums like you do for average.
That is (A+B+C+D+E...) / X
where A, B, C, D, E... are your module grades, and X is the total
number of subjects you've taken.
For a Year 1, the maximum would be 10.
So, X is 10.
Including Failed modules.