In general, a plug gage for an internal feature of size only verifies size not location - location would normally require a separate check gage.
Since these features are tolerance located at RFS you'll need a go and no-go gage for the feature of sizes and position check fixture that accommodates for the 3.0 (+/- 1.5) position shift. The position check gage will have a size adjustable plug that locks on the the as-built size (RFS) and then verifies the position size.
You should check each size of the slot separately + position check - so technically you need three gages.
if using ASME B89.1.5 the size go gage for the 10 mm+/- 0.1 should be 9.9 + ZZ = 9.9 + 0.00508
The no-go gage would be 10.1 - ZZ = 10.1 - .00508.
Notice in both cases that it's possible to reject an acceptable feature op size in which case when a reject happens further investigation is required.
The proper check gages for
Gage tolerance calculator
https://www.engineersedge.com/mechan...ator_13388.htm
Judging the simplicity of your question and the complexity of my answer you may need to read / study you on the design of functional check gages.