A Nice Olympiad Math preparation/Find the value of X