On the general solution for the modified Emden-type equation