Helppppppp

Write the expression as a unit rate.

Joyce painted 8 window frames in 5 hours while earning money for college.

What was her painting rate in window frames per hour?

What was her painting rate in hours per window frame?