Do not post homework problems in the tutorials section!
Now, to help you along a bit, let I be the cone's base in the plane z=0, and let (X,Y) denote a point in I. Let the vertex have the coordinates: [itex]\vec{r}_{v}=(x_{v},y_{v},z_{v})[/itex].
Thus, any point within the cone will lie on some line segment from [itex]\vec{r}_{v}[/itex] to a point (X,Y) in I, so we can therefore represent all points in the cone with the following function:
[tex]\vec{r}(X,Y,u)=(\vec{r}_{v}-(X,Y,0))u+(X,Y,0), 0\leq{u}\leq{1},(X,Y)\in{I}[/tex]
[tex]\vec{r}(X,Y,u)\equiv(x(X,Y,u),y(X,Y,u),z(X,Y,u))[/tex]
This should be useful to you.
In particular, remember that the x-coordinate to any given point in the cone is:
[tex]x(X,Y,u)=(x_{v}-X)u+X[/itex]<br />
and similar expressions for the y-and z-coordinates to anyone point in the cone.[/tex]