If 2(−3x+c)=−3(2c2+cx)c+5c, what is the value of x in terms of c?