The expression of the electric flux is

Here,
Q = Total charge enclosed in the closed surface
= Permittivity due to free space
Rearranging to find the charge,

Replacing with our values we have finally



The charge enclosed by the box is 0.1684nC
The sign of the charge can be decided by using the direction of the flux. The charge enclosed by the cube can be calculated by using the electric flux and the permitivity of free space.
The tension in the string corresponds to the gravitational attraction between the Sun and any planet.
Am sorry what can you be more specific