I understand how to make a force diagram for an inclined plane.
Assuming I have an inclined plane in the form of a right-angled triangle with both cathetes $k$, the angle of the inclined plane is $\tan (k / k) = \tan 1 = 45\deg$. On top I have an object that glides frictionless down the inclined plane (on the hypotenuse). How can I set up the position vector $\mathbf{r}$ for $x$ and $y$ for the uniformly accelerated movement?
If the object were to slide down vertically, $\mathbf{r} = (0, k-\frac{1}{2}gt ^ 2)$.