For a system of linear equations to have no solution, they need to have the same slope and different y-intercepts. Rearranging the two equations into slope-intercept form,
−3x+y=6
y=3x+6
ax+2y=4
2y=−ax+4
y=−2ax+2
Setting the slopes equal to each other,
3=−2a
−6=a