The length of a side of a square is 5x+2 units. If the perimeter is 48 units, complete the following:
a) Find the value of x.
b) Calculate the area of the square.
c) Determine the length of each side of the square.
d) Identify the square's diagonal length.