I'm trying to find the the voltage across the capacitor before and after closing the switch and graph the response
The switch closed circuit simplifies to this, (10K and 18.5K in parallel, then that in series with the 15K)

meaning your capacitor ends up at ~34.7V, how it gets there will be an RC curve.