Answer:
Shyam's mark: 58
Ram's mark: 46
Step-by-step explanation:
r = s - 12 (r is for Ram and s is for Shyam) for this example:
(1/2)(r - 12) = s + 11
This is because Shyam would have beaten by 11 marks.
(r - 12) + (1/2)(r - 12) = s + 11
2(r - 12) + (r - 12) = 2(s + 11)
2r - 24 + r - 12 = 2s + 22
r = 22 + 24 + 12
s = 58
r = 58 -12 = 46
Hope this helps!