If y are the cookies he baked and x are the cookies he shared with his sister:

You could also express this as a function (i dont know your school grade, so i dont know if you have been taught this):

if you haven't been taught functions, then just ignore this