How To Come Up with The Cosine Rule From Scratch