i) Just use the formula Moles = Mass/ Molar Mass
(having found the value of the Mr of the MgSO4 by adding together the Ar of all the elements in their proportions)
ii) Same as above
iii) You've now got the two values for the numbers of moles of each in the substance, which is the first step in finding the empirical formula. The next is to find the simplest ratio between the two: if it's not obvious, then just divide both by the smallest value. Given the phrasing of the question, that'll then give you a ratio of moles of MgSO4: moles of H20 in the form 1:x, with x being the value you're trying to find.