Organic chemistry is the chemistry of carbon compounds--both acetic and stearic acids are composed largely of carbon (with H and O).
Rule of thumb "like dissolves like" i.e. the more structurally similar two compounds are, the more likely it is that one will dissolve in the other (i.e. they are miscible)
A polar compound will usually not be very miscible with a non-polar compound (gasoline is non-polar, and will not mix with water, which is very polar)
Write out the structure of stearic acid and acetic acid, and the oil---go from there.