you can try this
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\begin{document}
\def\ANGLE{25}
\begin{tikzpicture}
\begin{scope}
\draw[fill=blue!50] (0,0) coordinate(O) -- (\ANGLE:5) coordinate(A) coordinate[pos=0.6](M) |- (O);
\draw (A)--++(\ANGLE:0.5)coordinate(P) ;
\draw (A) -- (P) circle (0.3);
\begin{scope}[shift={(M)},rotate=\ANGLE]
\draw[fill=yellow] (M) rectangle ++(0.6,0.6)coordinate(N);
\path (M) -- (N)coordinate[pos=0.5](G);
\path (N) |- (M) coordinate[pos=0.25](J);
\draw[red] (J) -- (J-|P);
\end{scope}
\begin{scope}
\path(P) --++(0.3,0)coordinate(D);
\draw (D) --++(0,-1)coordinate(K) --++(-0.3,0)coordinate(L) ;
\draw[fill=green] (L) rectangle ++(0.6,-0.6);
\end{scope}
\end{scope}
\end{tikzpicture}
\hfill
\begin{tikzpicture}
\begin{scope}[shift={(M)},rotate=\ANGLE]
\draw[dashed,gray,-latex] (G) -- ++(3,0)node[above]{$\overrightarrow{x}$};
\draw[dashed,gray,-latex] (G) -- ++(0,3)node[right]{$\overrightarrow{y}$};
\draw[fill=yellow] (M) rectangle ++(0.6,0.6)coordinate(N);
\path (M) -- (N)coordinate[pos=0.5](G);
\path (N) |- (M) coordinate[pos=0.25](J);
\draw[red] (J) -- (J-|P);
\draw[red,-latex,thick] (G) -- ++(0,2)node[right]{N};
\draw[red,-latex,thick] (G) -- ++(-1,0)node[above]{T};
\draw[-latex] (J) -- ++(2,0);
\end{scope}
\draw[blue,thick,-latex] (G)node[right]{G} --++(0,-2)node[right]{P};
\end{tikzpicture}
\hfill
\begin{tikzpicture}
\begin{scope}
\draw[fill=green] (L) rectangle ++(0.6,-0.6)coordinate(Q);
\path(L) -- (Q) coordinate[pos=0.5](G2);
\draw[-latex] (G2) -- ++(0,-1.5)node[right]{$m\cdot g$};
\draw[-latex] (G2|-L) -- ++(0,1.5)node[right]{$T'$};
\end{scope}
\end{tikzpicture}
\end{document}
