Since B and F are opposite vertices, BF bisects angle ABC. angle ABM = 67.5.join AG observe that AGMB is a parallelogram, angle AGM = 67.5 and GM = AB = a.In triangle AGH apply cosine rule to get AG.Now AG will be known GM will be Known and also angle AGM is known.AM can be found in terms of a using cosine rule.