Generally speaking, the problem-solving process in test analysis is too long, and sometimes people can't understand it quickly. You'd better see what I did.
Click on the picture to see a bigger picture!
My answer is to integrate y first, and what you provided seems to integrate x first.