I had a slightly different idea than Daniel_Grubbs, but it will do the job, too. I added a couple of variables so that this could be duplicated and changed a little more quickly for a different pair of numbers.
https://teacher.desmos.com/activitybuilder/custom/601d6ef73ac5950d5da18af0