<u><em>Answer</em></u>

<u><em>Explanation</em></u>
Based on the given conditions, formulate:: 
Substitute
into
:: 
Rearrange variables to the left side of the equation: 
Calculate the sum or difference: 
Divide both sides of the equation by the coefficient of variable: 
Cross out the common factor: 
<u>EXPLANATION</u><u>:</u>
Given set A = { 1,2,3}
n(A) = 3
Let the n(B) be n
Total number of relations from A to B = 2^(3×n) =2^3n
According to the given problem
Total relations are = 512
⇛2^3n = 512
⇛2^3n = 2⁹
If bases are equal then exponents must be equal
⇛3n = 9
⇛n = 9/3
⇛n = 3
<h3>So, Number of elements in the set B = 3</h3>
Each friend got $1.30 I hope this helps!!!!
1-8=1 easy math but heres help