From Nanjing New Oriental Cooking School 1 to Confucius Temple, you can refer to the following route:
Walk or take the bus to Nanjing Xinjiekou Subway Station, and take Metro Line 1 or Line 2 (choose according to the specific line) to Nanjing Confucius Temple Station.
After exiting the station, follow the signs inside the station or ask the staff and walk along Zhongshan South Road to reach the Confucius Temple.
If you choose to walk, it will take about 20 minutes. The specific time depends on your personal walking speed.
You can also choose to take a taxi or use a shared bicycle to get there, but please pay attention to the traffic conditions and plan your time reasonably.
Hope this helps!