Solve the all parts of given question:
Question: Heat engine X takes in four times more energy by heat from the hot reservoir than heat engine Y. Engine X delivers two times more work, and it rejects seven times more energy by heat to the cold reservoir than heat engine Y.
Part A: Find the efficiency of heat engine X?
Part B: Find the efficiency of heat engine Y.
Please help for the above question, totally confused!! Show each steps if possible, Thank you.