Odpowiedź :
a)
[tex]\text{P}=a\cdot b\\\\a\Rightarrow3x\\\\b\Rightarrow2x+1\\\\\text{P}=3x\cdot(2x+1)=\boxed{6x^2+3x}[/tex]
b)
[tex]\text{P}=\frac{(a+b)\cdot h}{2}\\\\a\Rightarrow4x+8\\\\b\Rightarrow2x\\\\h\Rightarrow y\\\\\text{P}=\frac{(4x+8+2x)\cdot y}{2}=\frac{(6x+8)\cdot y}{2}=\frac{6xy+8y}{2}=\boxed{3xy+4y}[/tex]