If two lines with slopes m₁ and m₂ are perpendicular, then:

Isolate y to write the given line in slope-intercept form. Identify the slope of the line as the coefficient of x and find the slope of a line perpendicular to it using the given relationship between the slopes of perpendicular lines.
Starting from the equation:

Isolate y:

Then, the slope of the given line is -1/3. Let m be the slope of a line perpendicular to -3x-9y=-4. Then:

Therefore, the slope of a line perpendicular to the given line is 3.
Two parallel lines have the same slope.
Therefore, the slope of a line parallel to the given line is -1/3.