I'm not a dev, but I can definitely help you. Ending four was the first ending I got, so it should be pretty simple! All you have to do is gain Brandon's trust and try to convince him you are who you say you are. You also have to treat him with a lot of kindness and tell him how you relate to him whenever given the opportunity.