ok, in my physics class i was asked to give the relation of a trolley's acceleration depending on slope angle.

could someone give me the full relationship explanation please. i know that as you increase slope angle acceleration increases, but could someone please tell me the full mathamatical/scientific relationship?