Yes, you first need control points either by running the automatic
control point tool in Hugin (cpfind) or picking control points
manually.
You have three pictures of the same wall, they are basically the
same except that you moved sideways between shots - in the 'X'
direction - if you had climbed a ladder instead then the difference
would be in your 'Y' position.
So you should be able to get an approximate stitch by: resetting any
existing XYZ positions and roll/pitch/yaw rotations; selecting
custom optimisation; ticking the checkboxes to optimise 'X' for two
of the photos; and clicking 'optimise'.
Since these are likely hand-held shots, there were certainly small
'Y' (vertical) and 'Z' (forward and back) differences between shots
too. So go back to the optimiser tab to tell the optimiser that you
also want to optimise 'Y' and 'Z' for two of the photos, click
optimise, the panorama should look a bit better.
This isn't all, probably you were not pointing the camera perfectly
perpendicular to the wall, so you need to optimise roll, pitch and
yaw for all photos as well.
*except* there is not enough rotation constraint here, your panorama
will end-up upside down or sideways, so you either need to add
horizontal or vertical control points (just one pair will do), or
you need to lock roll for one of the photos - which you do by *not*
optimising roll for this photo.
Or to put it another way, you are optimising everything, except
*something* needs to be restrained by X, Y, Z and roll, otherwise
the panorama will wander off the canvas.
--
Bruno