Derivation of equation for sliding object

Derive an expression in its simplest form to show the relationship between the mass, ramp angle, and acceleration of the sliding object. Explain clearly but briefly the effect of each term in the expression on the actual acceleration, as the ramp angle changes.

No known variables. Context of this question: part of a lab, in which we found values of friction and coefficients of friction through measuring acceleration of objects sliding down a ramp.

[tex]a=g(sin\theta-\mu cos\theta)[/tex] where [tex]\theta[/tex] is the angle between the ramp and the horizontal. Note that [tex]a[/tex] is the acceleration when the object has been released and slides down the ramp. If the object has been pushed up the ramp and is in the process of sliding up then a slightly different equation governs its acceleration.