The general line equtaion passing through a point (x, y) is given by,

Here, m is the slope and b is the y intercept.
The given equation can be written as,

From the above equtaions, the slope for each line can be calculated as,

For two lines to be perpendicular, the slopes are reciprocal two each other and in opposite sign.
From the above equations we can say that, N is perpendicuar to B and S. For two parallel lines, the slopes are equal. Therefore we can say, B and S are parallel to ecah other.
Therefore, for the trcaks to form a rectangle, the fourth line should be made perpendicular to B and S and in parallel eith N.
Therefore, the slope of the line is, -1/2. Hence the possible equaton can be,
