Nope, it doesn't follow the Pythagorean Theorem.
The volume of the rectangular prism is found with 7x4x212=5936
The volume of the cube is found with 12x12x12, because all the sides on a cube are equal= 1728
To find how many cubes fir in the rectangular prism, you divide the volumes
5936 divided by 1728= 3.435 when rounded to the nearest thousanth
The answer for this question is =
y = 1/2x+ 8
Work
y= mx +b:
y= 1/2x+b
x= -4
y=6
6=1/2(-4)+b
6=-2+b
b=8
y=1/2x+8
6=