Angular momentum of a particle moving along a straight line is given by formula
[tex]L = \vec r \times m\vec v[/tex]
now here particle is moving along a straight line with speed v along x direction
so here we can say
[tex]\vec P = mv \hat i[/tex]
now we can say
[tex]\vec L = mvr sin\theta[/tex]
here we know that
[tex]r sin\theta = a[/tex]
so angular momentum will be
[tex]L = mva[/tex]