can a -5 and 9 be like terms

No, a -5 and 9 cannot be like terms because like terms have the same variable raised to the same power. Here, -5 does not have a variable and 9 does not either, so they cannot be considered like terms.