Varieties with $P_2(X)=2$ and $q(X)=\dim X$