The easiest trick I know is if you want to find either the x or y int you immediately cover the variable that you ARE NOT trying to find since it will be 0 anyways, then divide the answer by the number of the y or the x so
X int is 10/5 so it’s (2,0) and the y int is 10/2 so its (0,5)