The value of X is 3.25
Look at the attached picture
Hope it will help you
Good luck on your assignment