Ram is two years older than Shyam who is twice as old as Mohan. If the total of the ages of Ram, Shyam, and Mohan be 27, then how old is Shyam?
Ram is 5 times as old as Shyam. If their difference of age is 8 years, how old is Shyam?