The fraction of the total number of marbles is left in the bag after removing and giving part to her friend is 3/8
let
Remaining marbles = x - 1/2x
= (2x-x) / 2
= x/2
= 1/2x
Number of marbles given to her friend = 1/4 of 1/2x
= 1/4 × 1/2x
= 1/8x
Number of marbles left in the bag = Remaining marbles - Number of marbles given to her friend
= 1/2x - 1/8x
= (4x-x) / 8
= 3x/8
= 3/8x
Learn more about fraction:
https://brainly.com/question/11562149
#SPJ1