Find the delection of beam using Macaulay’s method and double integration method

Find the delection of beam using Macaulay’s method and double integration method