package com.nullprogram.chess;

/**
 * Represents a position on a Chess board.
 */
public class Position {
    public int x, y;

    public Position(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public String toString() {
        return "(" + x + ", " + y + ")";
    }
}

@@ -205,16 +205,129 @@
 %0A    %7D%0A%0A
+    public Position(Position pos, int deltax, int deltay) %7B%0A        this(pos.x + deltax, pos.y + deltay);%0A    %7D%0A%0A
     publ

Add a handy new constructor to Position.