Construct a square from the top and bottom ... and retouch the paint on the shelving unit before hanging it on the wall. Using a stud finder verify where studs are located under the drywall.