The solution I used was exactly what Andrew-R suggested. His formula returned an average score that was weighted to show that 75% of the overall score came from the TA mark, whilst only 25% came from the test score. Which is what I was after!