You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named dimagnesium;octadecanoate;phosphate by IUPAC nomenclature, provide its molecular formula.
user
C18H35Mg2O6P
assistant