Party established the right square pyramid d, lateral rib p. Determine total surface area and volume of the pyramid.
In a single line through the space base and side edge. The input data does not exceed 100.
Through the gap the required area and volume, the result output to three decimal places.