Final answer:
The surgery has affected the digestive system and the muscular system.
Step-by-step explanation:
The two systems that have been affected by the surgery described are the digestive system and the muscular system.
Organ X, which helps to digest food, has been removed, impacting the digestive system. Without this organ, the body has to work harder to push the food to where it needs to go in the digestive tract.
Additionally, the surgery may have affected the muscular system because rhythmic contractions of smooth muscles in the walls of the organs are needed for food to pass through the digestive tract. The removal of organ X could disrupt this muscle contraction and make the body work harder to push the food along.