This is the best that I could come up with to help...:
to calculate for work:
w= force x distance
w = mass x gravity x distance
w= mass x acceleration x distance
to calculate for power:
p=work / time
p= mass x gravity x distance / time
p = mass x acceleration x distance / time
Work: force times displacement. W = Fd
Power: work over time. P = W/t