given that the weight of the book is 10N
as the book is placed on the table the weight(mg)is balanced by the normal reaction force applied on the book by the table
therefore mg=N=10N
----------------------------------------------------------------------------------------------------------------------------------------------
here you have not mentioned about friction
there is no friction in the above case as the book is at stationary with respect to the table
the formula for frictional force is the product of the normal force on the body(N) and the coefficient of friction which will be given in the problen itself 