This is a question with answer options. Goal: How can I find studs inside a finished wall in my home?

Which of the following methods is more reasonable for accomplishing this goal?

OPT:
(1). Use a powerful magnet, run it over the wall, when the magnet finds something to attract it and catches it that means you have located a nail in the wall (or drywall) and a stud is directly to the right of it 5 inches.
(2). Use a powerful magnet, run it over the wall, when the magnet finds something to attract it and catches it that means you have located a nail in the wall (or drywall) and a stud is directly behind there....I think the answer is
(2).