Answer:
The numbers are
[tex]x=3 \ \ \ and \ \ \ y=7[/tex]
Step-by-step explanation:
Suppose the numbers are x and y
[tex]x=24-3y[/tex] --------- (1)
[tex]5x+3y=36[/tex] --------(2)
Re-arrange equation (2) for 3y
[tex]3y=36-5x[/tex] ----------- (3)
Substitute 3y=36-5x in equation (1)
[tex]x =24-(36-5x)[/tex]
[tex]x=24-36+5x\\x-5x=-12\\-4x=-12\\x=3[/tex]
Substitute x=3 in equation (3)
[tex]3y=36-5(3)\\y=\frac{36-15}{3} \\y=\frac{21}{3}[/tex]
[tex]y=7[/tex]