Generally pasta is easy to cook, once the water comes to a boil add the pasta and cook for another 5-10 minutes and it will be almost done.
The exact time depends on the thickness and quantity of the pasta:
If the pasta is thin and small, it should be cooked in boiling water for 5 minutes. This is because thin and less pasta has a larger heating area, thus reducing the heating time.
And if the pasta is thicker and more, then it may take a little longer, which is almost 10 minutes or so.