\documentclass[tikz]{standalone}\input{pre.tex}\begin{document}\begin{tikzpicture}[
force/.style={>=latex,draw=blue,fill=blue},
% axis/.style={densely dashed,gray,font=\small},
axis/.style={densely dashed,black!60,font=\small},
interface/.style={
pattern = north east lines,
draw = none,
pattern color=gray!60,
},
cargo/.style={
rectangle,
fill=magenta!40,
draw=black!50,
inner sep=2.5mm,
},
spring/.style={
decoration={
aspect=0.3,
segment length=.8mm,
amplitude=2mm,
coil},
decorate,
draw=magenta!25
}
]
\draw[axis,->] (-1,0.5) node[left]{$W_\text{п}=0$} -- ++ (7,0) node[right]{$+x$};
% \draw[interface] (-0.25,-0.25) rectangle ++(-0.25,0.7);
\draw[interface] (-0.5,-0) rectangle ++(6,-0.25);
\draw[thick] (-0.5, -0) -- ++(6,0);
\draw[fill=magenta!10] (0,0) -- (0,0.5) -- (2,0.5) arc (-90:0:1cm) -- (3.5,1.5) -- (4.5,0.4) -- (4.5,0) -- cycle;
\draw[fill=magenta!30] (0.25,0.5) rectangle ++(0.5,0.5) node[above, xshift=-0.6em] {$m$};
\draw[force,->] (0.5,0.72) --++(1,0) node[right] {$\vec{v}_0$};
\draw (3.5,0.5) node {$M$};
\end{tikzpicture}\end{document}