As the block is at rest w.r.t. inclined plane, hence, the friciton between blocks and plane will be of static nature and will act in the direciton up the plane
Free-body diagram of block:
a. For work done by gravity
`W_(gravity)=vecF*vecs`
`=mg*vtcos180^@`
`=mgvt(-1)`
`=-mgvt`
b. Work done by normal reaction
`W_(normal)=N*vt*costheta`
`=(mgcostheta)vtcostheta`
`=mgvtcos^2theta`
c. Work done by friction force
`W_(f riction)=F*vt cos(90-theta)`
`=(mgsintheta)*vtsintheta`
`=mgvtsin^2theta`