Text this: Exploring Dirac Materials and Two-Dimensional Magnet Using Green's Function Method and Quantum Magnetic Imaging