In run-rate problems, always: (i) compute runs already scored, (ii) subtract from target to get remaining runs, and (iii) divide by overs left.
A quick accuracy check is to multiply the required rate by remaining overs and add the runs already scored to confirm the target.