Marking outlines on the floor and wall with chalk can help ... but basically, the shelves are constructed as simple boxes ...
Try screwing that shelf into drywall alone before placing ... If you are unsure whether the spot that the stud finder tool ...