Variables
x: how much singer A tour generate, in millions
y: how much singer B tour generate, in millions
Together they generate $395 million, that is,
x + y = 395
Singer B took in $29 million less than Singer A, that is,
y = x - 29
Substituting the second equation into the first one,
x + (x - 29) = 395
x + x = 395 + 29
2x = 424
x = 424/2
x = 212
Therefore, the value of y is
y = 212 - 29
y = 183