The required numbers for the given case are 3 and 7 respectively.
<h3>How to solve a linear equation?</h3>
A linear equation can be solved by equating the LHS and RHS of the equation following some basic rules such as by adding or subtracting the same numbers on both sides and similarly, doing division and multiplication with the same numbers.
As per the given data the problem can be solved as follows,
Suppose the first number be x and the second be y.
Now, the equations can be formed as,
x + 3y = 24 (1)
5x + 3y = 36 (2)
Solve these equations by multiplying equation (1) by 5 and then subtract from (2) as below,
5x + 3y - 5(x + 3y) = 36 - 5 × 24
3y - 15y = -84
=> -12y = -84
=> y = 7
Substitute y = 7 in equation (1) to get,
x + 3 × 7 = 24
=> x = 3
Hence, the numbers for the given problem are 3 and 7 respectively.
To know more about linear equation click on,
brainly.com/question/11897796
#SPJ1