Simple sentence because there is no ,FANBOYS so it’s not compound, and it’s is also not a complex sentence.
He simply opens a window for everyone to see what he sees and lets the reader make their own interpretations and judgments.
According to Montresor, revenge would not be successful if “he was punished for getting his revenge”
Second sentence.
"After running the marathon in record time, Julia wanted to sleep for the rest of the day."
This is because this is a complex sentence; the first clause "after running the marathon in record time" is a dependent clause, and must be followed by a comma before the independent clause "Julia wanted to sleep for the rest of the day."