write algebraically

Find the Value of x (show full working and use coded reasons to show your decision)(See attachment)

also some help with these:
Write the Following Algebraic Expressions.
a) the product of 2x amd 3y (does product always mean adding?)
b) the total cost of P Pens at $d each and M penciles at $n each.
c) the average of a,b and c