It is mentioned in the problem that the shape is a square, hence, we could say that all side's measurement is the same and it is equal. It can be written in a different arrangement of terms, but still, the value to be solved is the same. The sides can be written in the following forms:
S1=6(3X+8)+32+12X
S2=18X+48+32+12X
S3=18X+80+12X
S4=30X+80
Since the area of a triangle is in the form
area=0.5(base)(height)
height=base+7
let base=x
area=0.5(x)(7+x)
30=3.5x+0.5x^2
multiply the equation by 2
60=7x+x^2
subtract 60 from both sides
x^2+7x-60=0
(x-5)(x+12)=0
thus x=5 or x=-12 since we are only considering positive answers
x=-12 is rejected
so base=5 and height=5+7=12
F+g(x) = f(x) + g(x) = 3x-1 + x+2 = 4x+1
There is no table attached to answer the question