Question: The Good Night starred the English actor who co-wrote what trilogy of films?

Context paragraphs:
Itoshii Hitoyo Good Night…: Itoshii Hitoyo Good Night... (愛しい人よGood Night... , "My Dearie, Good Night..." ) is the seventh single by B'z, released on October 24, 1990.  This song is one of B'z many number-one singles in Oricon chart.  The single was re-released in 2003, and re-entered at #12.  It sold over 354,000 copies according to Oricon.

Simon Pegg: Simon John Pegg (né Beckingham; born 14 February 1970) is an English actor, comedian, screenwriter, and producer.  He co-wrote and starred in the "Three Flavours Cornetto" trilogy of films: "Shaun of the Dead" (2004), "Hot Fuzz" (2007), and "The World's End" (2013).  He and Nick Frost wrote and starred in the sci-fi film "Paul" (2011).  Pegg portrayed Benji Dunn in the (2006–present) and Montgomery Scott in "Star Trek" (2009), "Star Trek Into Darkness" (2013), and "Star Trek Beyond" (2016), co-writing the latter.

On a Good Night (song): "On a Good Night" is a song written by Larry Boone, Don Cook and Paul Nelson, and recorded by American country music artist Wade Hayes.  It was released in May 1996 as the lead-off single and title from Hayes' album "On a Good Night".  The song reached number 2 on the "Billboard" Hot Country Songs chart and number 4 on the Canadian "RPM" country singles chart.  It is his second highest-peaking single.

Reece Mastin discography: The discography of British-Australian singer-songwriter Reece Mastin consists of three studio albums, one extended play, one DVD, nine singles and nine music videos.  He won the third season of "The X Factor Australia" in 2011.  Mastin's debut single "Good Night" debuted at number one on the ARIA Singles Chart and was certified five times platinum by the Australian Recording Industry Association (ARIA), denoting sales of 350,000 copies.  It also peaked at number one on the New Zealand Singles Chart and was certified platinum by the Recorded Music NZ (RMNZ), denoting sales of 15,000 copies.  Mastin's self-titled debut album, which features "Good Night" and selected songs he performed on "The X Factor", was released on 9 December 2011.  The album debuted at number two on the ARIA Albums Chart and was certified double platinum for shipments of 140,000 copies.  It also debuted at number one in New Zealand and was certified gold for sales of 7,500 copies.

Good Night (Reece Mastin song): "Good Night" is the debut single by British-Australian recording artist Reece Mastin, who won the third series of "The X Factor" (Australia) in 2011.  It was released digitally on 22 November 2011, shortly after the show ended, as the lead single from his self-titled debut album.  The song was written by Hayley Warner with Anthony Egizii and David Musumeci of the songwriting and production duo DNA Songs.  "Good Night" received mixed to positive reviews from music critics, most of whom noted its similarities to Pink's "Raise Your Glass" (2010).  The song debuted at number one on the ARIA Singles Chart, and became the first number-one winner's single for "The X Factor" (Australia).  It was certified five times platinum by the Australian Recording Industry Association (ARIA), denoting sales of 350,000 copies.  "Good Night" also peaked at number one in New Zealand and was certified platinum by the Recording Industry Association of New Zealand (RIANZ).

Reece Mastin: Reece Mastin (born 24 November 1994) is an English-born Australian singer and songwriter who won the third season of "The X Factor Australia" in 2011.  Mastin subsequently signed with Sony Music Australia.  His debut single "Good Night" reached number one in Australia and New Zealand, and became Sony Music Australia's fastest selling digital single.  Mastin's self-titled debut album debuted at number two on the ARIA Albums Chart and was certified double platinum.  His second studio album "Beautiful Nightmare" (2012) included the hit singles "Shut Up & Kiss Me" and "Shout It Out", the latter became Mastin's second number-one single in Australia.  "Good Night" and "Shout It Out" earned him two ARIA No. 1 Chart Awards.  In 2015, Mastin parted ways with Sony and signed with independent label Social Family Records.  His third studio album "Change Colours" was released in October 2015, and debuted at number 12.

Good Night (The Simpsons short): "Good Night" (also known as "Good Night Simpsons") is the first of forty-eight Simpsons shorts that appeared on the variety show "The Tracey Ullman Show".  It originally aired on the Fox network in the United States on April 19, 1987, during the third episode of "The Tracey Ullman Show" and marks the first appearance of the Simpson family — Homer, Marge, Bart, Lisa, and Maggie — on television.  After three seasons on Tracey Ullman, the shorts would be adapted into the animated show "The Simpsons".  "Good Night" has since been aired on the show in the episode "The Simpsons 138th Episode Spectacular" (in its entirety), along with several other Ullman shorts, and is one of the few shorts to ever be released on DVD, being included in the Season 1 DVD set.

Baby Good Night: "Baby Good Night" (Korean: 잘자요 굿나잇 "Jaljayo Good Night"; Japanese: おやすみ Good Night "Oyasumi, Good Night"), also known as Sleep Well, Good Night, is the third and lead single from the repackaged edition of B1A4's album Ignition.  A Japanese version of the song was released on August 29, 2012 as the group's second Japanese single.

The Good Night: The Good Night is a 2007 romantic comedy film written and directed by Jake Paltrow.  The film stars his sister Gwyneth Paltrow, Penélope Cruz, Martin Freeman, Danny DeVito, Simon Pegg and others.  The movie takes place in London and New York City, where a former pop star (Freeman) who now writes commercial jingles for a living experiences a mid-life crisis.

Section Eight Productions: Section Eight Productions, or just Section Eight, was a production company founded in 2000 by film director Steven Soderbergh and actor and director George Clooney.  It produced the critical hits "Far From Heaven", "Insomnia", "Syriana", "A Scanner Darkly" and "Michael Clayton", as well as Clooney-directed films "Confessions of a Dangerous Mind" and "Good Night, and Good Luck".  In 2005, "Syriana" and "Good Night, and Good Luck" picked up eight Oscars nominations between them.  With Soderbergh citing a desire to focus on directing, and Clooney forming production company Smoke House Pictures with Grant Heslov, the two decided to shut down Section Eight at the end of 2006.

Supporting paragraphs: The Good Night Simon Pegg
Answer: Three Flavours Cornetto