# Pythagorean theorem in 3D

### Problem

The vertical height of the top right pyramid is 7, and the height of the bottom right pyramid is 3. The square base of both pyramids has side length 3.
What is the length of the side edge, s, of the top pyramid?