It's not that hard you just need to have a male child of Prince-Consort George of Denmark and Queen Anne of England survive to adulthood, afterward if we arrange a accident for Christian VI before 1723 Georges offsprings are the nearest heir to the kingdom of Denmark-Norway, the duchies of Schleswig-Holstein and the county of Oldenburg when Frederik IV dies in 1730.