Main memory access time as the name suggests, is the time taken to access the data from the main memory. (This has nothing to do with cache, this is the basic time taken to access main memory).
Now, when there is a miss in the cache, it would access the main memory which consists "cache access time + main memory access time".
So, miss penalty in cache = Time taken to access cache + Time taken to access main memory.