Each module is worth a certain number of credits, at my uni usually twenty but sometimes ten. So it sounds like what you need to do is pass enough modules for your credits to add up to ninety.
If you fail your first year you'll either be made to repeat it, resit your failed modules, or if you were really bad thrown out. But if there's extenuating circumstances for why you failed you might sometimes be allowed to pass anyway.