I asked the following question in stack exchange (http://math.stackexchange.com/questions/21164/problem-in-rick-miranda-finding-genus-of-a-projective-curve) a few days ago, but didnt get any solution. Somebody please help me with it.

I have just started learining Reimann Surfaces and I am using the book by Rick Miranda: Algebraic curves and Reimannn Surfaces. #F in section 1.3 asks to determine the genus of the curve in $\mathbb{P}^3$ defined by the two equations $x_0x_3=2x_1x_2$ and $x_0^2 + x_1^2 +x_2^2 +x_3^2 = 0$. #G also has a similar question in which he asks to determine the genus of the twisted cubic. Please explain how to approch this type of question.