For the first one use the disk method the function represents the radius of a circular disk with thickness dx. so we get
For part B
we know that Matrix X and B must have the same dimention (why?)
To multiply two matrices what conditions must be satisfied.
Think about this and see what you can do.