You should have an undergraduate academic book for guidance in these matters. It should tell you how many modules you would need to pass in year 1 to progress to year 2. What is important is that you score no less than 30% overall in any module that you fail. How many modules they will allow for failure at Glasgow l don't know, but my Russell Group uni they allowed you to fail a third of your first year modules, as long as you didn't score <30% in any of them. In the event that you failed a module with <30%, then you would have needed to average at least 50% overall in order to still progress. If you were to fail the first year, then it would likely mean being removed from the course, and from the university. But you may have grounds to appeal, if you have extenuating circumstances.
My advice is to try to find out more info from the uni directly, such as from your uni student portal, where the uni academic regulations should be listed. Asking people here on TSR would be highly speculative, and you risk raising or lowering your hopes based on inaccurate information.