Answer:
(a) 3x -y = 7
(b) x +3y = 29
Explanation:
(a) The standard form of the given line is ...
3x -y = 5
The parallel line will have a constant on the right that makes it go through (5, 8), so it will be ...
3x -y = 3(5) -(8)
3x -y = 7
__
(b) The perpendicular line will have coefficients for x and y swapped and one of them negated. Again, the constant is chosen to make it go through (5, 8).
x + 3y = (5) +3(8)
x + 3y = 29