If the line ax + 2Y + 1 = 0 is perpendicular to the line x + 3y-2 = 0, what is the value of a?

If the line ax + 2Y + 1 = 0 is perpendicular to the line x + 3y-2 = 0, what is the value of a?


The slope of line 1 is - A / 2, and the slope of line 2 is - 1 / 3
Perpendicular to each other is defined as K1 * K2 = - 1
So - 1 / 3 * - A / 2 = - 1
So a = - 6