I have to get from the first ecuation to the second ecuation and i don't know how
You mean get from the second equation to the first equation? The second equation is the definition of angular momentum.
Anyway, try writing out the vectors r and p in component form and taking the cross product. Then use the definitions of I and omega to show both expressions are the same.