How to move Search box below psots and put the search button on the same line?

I see the search box code 965 on forums.php I want to put it under the posts and wanted to know what lines to move around, also the search button in on a different line (below field) and was hoping to have it on the same line.