There is something wrong with the numbers. A 10 m long ramp cannot be used to raise something 20 m. If it was a 100 m ramp, then the ideal work is Fd for both the straight up lift and up the ramp leading to
FR/FSU= (dSU/dR) or 1/5 (The IMA is 5)
You can't find the power requirement without the mass of the ore
P = mgh/t
Please consider a tutor.