Let's break down the Roman numeral "DCXVII" into its constituent parts and convert it to a number: D represents 500. C represents 100. X represents 10. VII represents 5 +…