If the 2 given points are endpoints, then we're in business. The formula for the midpoint is . If the endpoints of our segment are the coordinates (1,2) and (12,14), our formula would be filled in as follows: which simplifies to (13/2, 8). See? It's pretty simple once you know how to do it.
What you could do it is. Start adding numbers and once you get close to 6 numbers See if you are close to 51 and switch around the numbers to make it equal 51 hope this helps