Since the results were not very comfortable it could be that the interest after 3 years are 434. Maybe you have made typo.
The equations are
$C_0\cdot (1+r)^2-C_0=272$
$C_0\cdot (1+r)^3-C_0=434$
$C_0$ is the inital capital and $r$ is the interest rate. Dividing the second equation by the first equation. $C_0$ is cancelling out.
$\frac{(1+r)^3-1}{(1+r)^2-1}=\frac{434}{272}$
Up to here there is no simple way to calculate r. You maybe can substitute:
$1+r=q, \frac{434}{272}=a$
$\frac{q^3-1}{q^2-1}=a$
$q^3-1=a\cdot q^2-a$
$q^3-a\cdot q^2+a-1=0$
Since it is a cubic equation it is still a challenge to solve it. One way is to use the Cardano's method.
At the end of the calculation you should get $r=0.125$. And therefore $C_0=\frac{272}{1.125^2-1}=1024$