It's up to you to figure it out, or you can do a full pacifist route to directly get the answer. I've already given away enough info as it is.