def METHOD_NAME(self: SelfRectType, x: int, y: int) -> SelfRectType:
    return type(self)(
        (
            self.x - type(self.x)(x / 2),
            self.y - type(self.y)(y / 2),
            self.w + x,
            self.h + y,
        )
    )