A 205 kg log is pulled up a 30 degree ramp by a rope parallel to the ramp. The coefficient of kinetic friction is .9 and the log has an acceleration of .8 m/s2. Find the rope tension

Attempt: I honestly have no idea where to start on this at all. My teacher doesn't do a very good job of going over everything, so I have no examples of calculating the tension of a rope pulling an object, nor do I have one of an inclined plane. Any and all help you could give me would be a huge help to me.

I have one more, but its a little hard to explain. I have a triangle, the lowest part of the hypontunse is on the left, and the highest part is on the right. The second longest side(horizontal) connects to the lowest part of the hypontunse to form a 15 degree angle. And then there is a third(completly vertical) side connecting all three. I have a 15 kg box on the ramp being pushed with an acceleration of .5 m/s2. The coefficient of kinetic friction is .43, what is the force.

Attempt: NO idea where to start. Looking at all of my problems, all we did was solve for acceleration. This is the first I'm seeing of a problem where we solve for force on an inclined plane