At the main station take the U2 in the direction of Feldmoching. Exit the train at the U-Bahn stop Theresienstraße. Follow the direction of travel along Augustenstraße until you get to Schellingstraße.
Turn left onto Schellingstraße. From here it is just 2 minutes by foot to the Hotel im Hof.