[tex]\\ \sf\longmapsto BD=38[/tex]
[tex]\\ \sf\longmapsto 2x+8y=38[/tex]
[tex]\\ \sf\longmapsto x+4y=19\dots(1)[/tex]
And
[tex]\\ \sf\longmapsto BC+CD=BD[/tex]
[tex]\\ \sf\longmapsto 5x+7+3y+4=38[/tex]
[tex]\\ \sf\longmapsto 5x+3y+11=38[/tex]
[tex]\\ \sf\longmapsto 5x+3y=27\dots(2)[/tex]
Lets go through graphical method(Attached)
Solution is (x,y)=(3,4)