First, take into account that the pressure on each piston must be equal:

then, by conisdering that P=F/A, you have:

furthermore, consider that the area of the piston (circular shape) is:

then, in order to determine the diameter of the smaller piston, replace the previous expression into the equation for F/A, and solve it for r2, just as follow:
![\begin{gathered} (F_1)/(\pi r^2_1)=(F_2)/(\pi r^2_2) \\ r_2=\sqrt[]{(F_2)/(F_1)r^2_1}^{} \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/vkb8beaculz2imh4d467aefmo5d5f2jxoh.png)
take into account that the radius of the bigger piston is
r1=d1/2=30cm/2 = 15cm,
then by replacing F1 = 22,500N and F2=1,500N, you obtain for r2:
![\begin{gathered} r_2=\sqrt[]{((1500N)(15cm)^2)/(22500N)} \\ r_2=3.87\operatorname{cm} \end{gathered}]()
the diameter of the smaller piston is twice its radius, then, you have:
d2 = 2*r2 = 2*(3.87 cm) = 7.74 cm