Shrink Database and its effect

Hi,

I want to Shrink all databases log related to dynamics ax 2012. i want to know the effect occur after shrink.

here is my databases images kindly highlight and tell me which databases is related to dynamics ax 2012 r2 which i need to shrink.