\documentclass{article}

\usepackage[latin2]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[magyar]{babel}

\begin{document}

\unitlength 1mm
\begin{picture}(45,45)(-5,-5)
\thicklines
  \put(0,0){\line(4,5){24}}
  \put(20,25){\circle*{1}}
\thinlines
  \put(-5,0){\vector(1,0){30}}
  \put(0,-5){\vector(0,1){35}}
  \multiput(2.5,-1)(2.5,0){8}{\line(0,1){2}}
  \multiput(-1,2.5)(0,2.5){10}{\line(1,0){2}}
  \put(28,0){\makebox(0,0)[l]{$x$}}
  \put(20,-4){\makebox(0,0)[b]{8}}
\end{picture}

\end{document}
