Ham Sandwiches!

This is a low-carb generalized ham sandwich in two dimensions. The goal is to share this fairly with your friend. The line through the middle represents the one linear cut you are allowed to make. Moving the blue dots will change the cut. Try to move the dots so that you and your friend both have the same amount of ham and the same amount of cheese. The areas of each are shown on the left.