in order for 2 lines to be parallel both lines must have the same slopem in this case
[tex]\frac{1}{2}\ne2[/tex]the lines are not parallel.
when 2 lines are perpendicular the product between the slopes of the lines must be equal to -1
[tex]\begin{gathered} (\frac{1}{2})\cdot(2)=1 \\ 1\ne-1 \end{gathered}[/tex]in this case the lines are neither parallel nor perpendicular.
PERPENDICULAR
NOT PERPENDICULAR