The distance between two parallel lines ax + 2y-1 = 0 and X + (A-1) y + 2 = 0 is? Is the value of a calculated by using the same slope and then by using the knowledge of the distance between two parallel lines?

The distance between two parallel lines ax + 2y-1 = 0 and X + (A-1) y + 2 = 0 is? Is the value of a calculated by using the same slope and then by using the knowledge of the distance between two parallel lines?

a/2=1/(a-1)
a^2-a-2=0
(a+1)(a-2)=0
A = - 1 or 2
When a = - 1, x-2y + 1 = 0, x-2y-2 = 0
Distance: | 1 + 2 | / √ 5 = 3 √ 5 / 5
When a = 2, 2x + 2y-1 = 0, x + y + 2 = 0
Distance: | (1 / 2) + 2 | / √ 2 = 3 √ 2 / 4