two dimensional linear equation