The solution of the inequality ax- 2 < -4 is x < -1. What is the value of a?

ax- 2 < -4

ax < -2

if x < -1, then a = 2

2x < -2
x < -1