Texture maping a image to a object

Im trying to get a jpg image to be mapåed on to a cub mad upp with triangels

i realy wold like a example