I agree, hence the mechanic engineering degree is basically worthless IMO.
Even in your example, any person with a functioning brain would understand your X and Y examples. So what exactly to mechanical engineers learn? As someone that went through it, I can assure you it's almost nothing. It's just a 4 year grinder so they can put a stamp on who can do medium level math and put up with the grind. The learning is up to you after.