To answer your question directly i just have to give the meaning of market economy:
A market economy (or free-market economy) is an economy in which decisions regarding investment, production and distribution are based on supply and demand[1] and the prices of goods and services are determined in a free price system.
I hope you understand my answer and satisfied with it