hello
let's allow x represent the number of 39 cent stamp
let's allow y represent the numbers of 24 cent stamp
40 = x + y .... equation 1
this equation represents the total number of stamos
14.40 = 0.39x + 0.24y ....equation 2
this equation represents the summation cost of each type of stamp
we can proceed to solve these set of equations
from equation 1
40 = x + y
let's make x the subject of formula
x = 40 - y .....equation 3
now we csn substitute equation 3 into equation 2 and solve
y = 8
put y = 8 in either equation 1 or 2
from equation 1