solve simple define expansion