Use simultaneous equations solve the following problem.
Ali received better results for this Mathematical test than for his English test. If the sum of the two marks is 164 and the difference is 22, calculated the marks he received for each subject.