Optimizing Basepass and Prepass

Is there a way to tell what is causing my basepass and prepass to have such long durations? Both are fairly high and causing my FPS to drop. I have tried going through optimizing my lightmaps and textures, but I was curious if there was a better way to tell what exactly is causing it?

Have you solved the problem