$${\mathtt{loga24}}{\mathtt{\,\small\textbf+\,}}{\mathtt{loga18}}{\mathtt{\,-\,}}{\mathtt{loga2}} = {\mathtt{3}}{\mathtt{\,\times\,}}{\mathtt{loga6}} \Rightarrow {\mathtt{loga24}} = {\mathtt{3}}{\mathtt{\,\times\,}}{\mathtt{loga6}}{\mathtt{\,\small\textbf+\,}}{\mathtt{loga2}}{\mathtt{\,-\,}}{\mathtt{loga18}}$$
.