• + 0 comments

    JavaScript

    function findPoint(px, py, qx, qy) {
        return [2 * qx - px, 2 * qy - py];
    }