how do I solve this problem?

so the line is dog so we know the full line is 60 units long. The 2 parts (do and og) add up to the full length so we can make the equation:
(4x-3)+(2x+21)=60
6x+18=60
6x=42
x=7
if you need to fine do or og, just plug in x to its equation