I have never used brm function before. I installed Rtools over anaconda and then called library(brms) in jupyter notebook (R).
This is my formula for brm function: