The first subjunctive mood is mainly used in indirect speech, which indicates an objective report and does not indicate whether the speaker agrees with this statement. In addition, it is also used in instructions, recipes and so on. Usually you will see: er sagt, ... Did I? Rt, ... es sei+ second participle, etc.
The second subjunctive mood mainly expresses an unrealistic and impossible wish and assumption, which you will usually see: wenn, auch wenn, als ob, sonst, etc.
I hope I can help you ~ ~ Welcome to adopt ~ ~