I make it a different answer.how about Vout=((1/10k + 1/500k)^(-1))*500k*V2
1. Once Vout settles, after the application of V1, what value must V3 become?
2. Then derive an expression for V3 based on the voltage divider formed by the 10K and 500K resistors
3. Equate 1. and 2. above and you're there
PS: try to simplify your answers as well - tidy up the maths by not leaving (1/a + 1/b)^-1 type expressions